<template>
  <div class="test">
    <p-radio-group v-model="radio" disabled>
      <p-radio :value="true"></p-radio>
      <p-radio :value="false">否</p-radio>
    </p-radio-group>
    <p-radio-group v-model="radio">
      <p-radio :value="true">YES</p-radio>
      <p-radio :value="false">NO</p-radio>
      <p-radio value="or"></p-radio>
    </p-radio-group>
  </div>
</template>

<script setup>
import { ref, watch } from "vue";
const radio = ref(true);

watch(radio, (newValue) => {
  console.log(newValue);
});
</script>
<style scoped>
.test {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
</style>
